<!--
 * @Author: TaoLer <alipay_tao@qq.com>
 * @Date: 2021-12-06 16:04:51
 * @LastEditTime: 2022-08-15 14:56:31
 * @LastEditors: TaoLer
 * @Description: 搜索引擎SEO优化设置
 * @FilePath: \TaoLer\view\taoler\index\tag\index.html
 * Copyright (c) 2020~2022 https://www.aieok.com All rights reserved.
-->
{extend name="public/base" /}
{block name="title"}{$tag.title} - {$sysInfo.webname}{/block}
{block name="keywords"}{$tag.keywords}{/block}
{block name="description"}{$tag.description}{/block}
{block name="ogtitle"}<meta property="og:title" content="{$tag.title} - {$sysInfo.webtitle}" />{/block}
{block name="ogdescription"}<meta property="og:description" content="{$tag.description}" />{/block}
{block name="column"}{include file="public/column" /}{/block}
{block name="content"}
<div class="layui-container">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-md8">
      <div class="fly-panel" style="margin-bottom: 0;">
        <div class="fly-panel-title fly-filter"><a href="" class="layui-this">{$tag.name}共{:count($artList)}条结果</a></div>
        <ul class="fly-list">   
		    {volist name="artList" id="art"}
          <li>
            <a href="{$Request.domain}{:url('user/home',['id'=>$art.user_id])}" class="fly-avatar">
              <img src="{$art.user.user_img}" alt="{$art.user.name}"><i class="iconfont icon-renzheng" title="认证信息"></i>  
            </a>
            <h2><a href="{$Request.domain}{$art.url}"  title="{$art.title}">{$art.title}</a></h2>
            <div class="fly-list-info">
              {if config('taoler.config.cate_show') == 1}
              <a class="layui-badge" href="{$Request.domain}{:url('cate',['ename'=>$art.cate.ename])}">{$art.cate.catename}</a>
              {/if}
              <a href="{$Request.domain}{:url('user_home',['id'=>$art.user_id])}" link><cite>{$art.user.name}</cite></a>
              <span>{$art.create_time|date='Y-m-d'}</span>
            </div>
            {if ($art.is_hot == 1)}
            <div class="fly-list-badge"><span class="layui-badge layui-bg-red">精帖</span></div>
            {/if}
          </li>
		    {/volist}  
        </ul>
      </div>
    </div>
    {//右栏}
    <div class="layui-col-md4">
      <dl class="fly-panel fly-list-one">
        <dt class="fly-panel-title">本周热议</dt>
        {volist name="artHot" id="vo"  empty="还没有帖子"}
        <dd>
          <a href="{$Request.domain}{$vo.url}">{$vo.title}</a>
          <span><i class="iconfont icon-pinglun1"></i> {$vo.comments_count}</span>
        </dd>
        {/volist}
      </dl>
      <!--自定义-->
      {notempty name="ad_comm"}
      <div class="fly-panel" style="padding: 5px 0; text-align: center;">
        {volist name="ad_comm" id="vo"}		
        <a href="{$vo.slid_href}" target="_blank"><img src="{$Request.domain}{$vo.slid_img}" style="max-width: 100%;"></a>
        {/volist}
      </div>
      {/notempty}
    </div>
  </div>
</div>
{include file="public/menu" /}
{/block}
{block name="script"}{/block}